﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2019
// 文件： GovMenuEntity.cs
// 项目名称：斑马车务
// 创建时间：2019-01-09
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace CGT.Infrastructure.Entity
{
    /// <summary>
    ///菜单数据实体  
    /// </summary>
    [Serializable]
    [PrimaryKey("MenuID")]
	public class GovMenu
	{
		///<summary>
		///菜单
		///</summary>
		public GovMenu()
		{
		}	
    
		
		///<summary>
		///MenuID
		///</summary>
        [Column("MenuID","MenuID")]
        public int MenuID { get; set; }

		///<summary>
		///父级ID
		///</summary>
        [Column("ParentID","父级ID")]
        public int ParentID { get; set; }

		///<summary>
		///菜单编码，用于代码中控制权限使用
		///</summary>
        [Column("MenuCode","菜单编码，用于代码中控制权限使用")]
        public int MenuCode { get; set; }

		///<summary>
		///角色类别ID
		///</summary>
        [Column("RoleTypeID","角色类别ID")]
        public int RoleTypeID { get; set; }

		///<summary>
		///菜单类别(1:菜单分类，2：菜单项)
		///</summary>
        [Column("MenuType","菜单类别(1:菜单分类，2：菜单项)")]
        public short MenuType { get; set; }

		///<summary>
		///菜单名称
		///</summary>
        [Column("MenuName","菜单名称")]
        public string MenuName { get; set; }

		///<summary>
		///菜单地址
		///</summary>
        [Column("MenuUrl","菜单地址")]
        public string MenuUrl { get; set; }

		///<summary>
		///是否仅允许警员操作(1:是，2：否)
		///</summary>
        [Column("OnlyForPolice","是否仅允许警员操作(1:是，2：否)")]
        public short OnlyForPolice { get; set; }

		///<summary>
		///备注信息
		///</summary>
        [Column("Remark","备注信息")]
        public string Remark { get; set; }

		///<summary>
		///顺序号
		///</summary>
        [Column("OrderNum","顺序号")]
        public int OrderNum { get; set; }

		///<summary>
		///数据有效标记
		///</summary>
        [Column("IsActive","数据有效标记")]
        public short IsActive { get; set; }

		///<summary>
		///创建时间
		///</summary>
        [Column("CreateDateTime","创建时间")]
        public DateTime CreateDateTime { get; set; }

		///<summary>
		///更新时间
		///</summary>
        [Column("UpdateTime","更新时间")]
        public DateTime UpdateTime { get; set; }

		///<summary>
		///是否核心功能(0:否1:是)
		///</summary>
        [Column("IsCoreFunction","是否核心功能(0:否1:是)")]
        public int IsCoreFunction { get; set; }

		///<summary>
		///是否常规业务(0:否1:是)
		///</summary>
        [Column("IsConventional","是否常规业务(0:否1:是)")]
        public int IsConventional { get; set; }

	}
}